package com.wmx.entity;

/**
 * @author:wmx 2025-03-25 11:49
 * 1、功能:
 * 2、参数{
 * <p>
 * <p>
 * }
 **/
public class People<T extends Pet> {
    private T pet ;

    public People(T pet) {
        this.pet = pet;
    }

    public void shopping() {
        pet.cry("汪汪");
       System.out.println("带"+pet.toString()+"出去玩");
   }
}
